
var router = require("express").Router();
var webResult = require("../web-result");
var path = require("path");
var fs = require("fs");
var JSON5 = require("json5");


const configurationPath = path.join(__dirname, "../config/android.json5");
const configuration = JSON5.parse(fs.readFileSync(configurationPath, "utf-8"));


router.get("/android/version", async (_request, response) => {
    response.send(webResult.success(configuration));
});



module.exports = router;


